projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d71b2
)
(main): Mention lock file name in error message.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Aug 1995 20:19:40 +0000
(20:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 5 Aug 1995 20:19:40 +0000
(20:19 +0000)
lib-src/movemail.c
patch
|
blob
|
history
diff --git
a/lib-src/movemail.c
b/lib-src/movemail.c
index 83a9fed2acc7e9843d5c5450198d5d1c3d6d4233..fd33302b9e6237d1279d72770211edc15b926ba9 100644
(file)
--- a/
lib-src/movemail.c
+++ b/
lib-src/movemail.c
@@
-237,7
+237,11
@@
main (argc, argv)
/* Give up if cannot do that. */
desc = open (tempname, O_WRONLY | O_CREAT | O_EXCL, 0666);
if (desc < 0)
- pfatal_with_name ("lock file--see source file lib-src/movemail.c");
+ {
+ char *message = (char *) malloc (strlen (tempname) + 50);
+ sprintf (message, "%s--see source file lib-src/movemail.c");
+ pfatal_with_name (message);
+ }
close (desc);
tem = link (tempname, lockname);